/*
 * InDirBlock.cpp
 *
 *  Created on: Apr 19, 2011
 *      Author: 
 */

#include "InDirBlock.h"
#include "FS.h"

InDirBlock::InDirBlock(int number, byte* data) : DataBlock(number, data) {

}

InDirBlock::~InDirBlock() {
	// delete BusyBlock?
}

void InDirBlock::write(int index, long address){
	FS::getInstance()->writeInBlock(number, index*4, (byte*)address, 4);
}
